package com.hgd.client.task;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;

/**
 * <p>
 * Java class for taskData complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="taskData">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="dataValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="flag" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="gainTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         &lt;element name="task" type="{http://impl.hgd.com/}task" minOccurs="0"/>
 *         &lt;element name="tdId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "taskData", propOrder = { "dataValue", "flag", "gainTime",
		"task", "tdId" })
public class TaskData {

	protected String dataValue;
	protected int flag;
	@XmlSchemaType(name = "dateTime")
	protected XMLGregorianCalendar gainTime;
	protected Task task;
	protected int tdId;

	/**
	 * Gets the value of the dataValue property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getDataValue() {
		return dataValue;
	}

	/**
	 * Sets the value of the dataValue property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setDataValue(String value) {
		this.dataValue = value;
	}

	/**
	 * Gets the value of the flag property.
	 * 
	 */
	public int getFlag() {
		return flag;
	}

	/**
	 * Sets the value of the flag property.
	 * 
	 */
	public void setFlag(int value) {
		this.flag = value;
	}

	/**
	 * Gets the value of the gainTime property.
	 * 
	 * @return possible object is {@link XMLGregorianCalendar }
	 * 
	 */
	public XMLGregorianCalendar getGainTime() {
		return gainTime;
	}

	/**
	 * Sets the value of the gainTime property.
	 * 
	 * @param value
	 *            allowed object is {@link XMLGregorianCalendar }
	 * 
	 */
	public void setGainTime(XMLGregorianCalendar value) {
		this.gainTime = value;
	}

	/**
	 * Gets the value of the task property.
	 * 
	 * @return possible object is {@link Task }
	 * 
	 */
	public Task getTask() {
		return task;
	}

	/**
	 * Sets the value of the task property.
	 * 
	 * @param value
	 *            allowed object is {@link Task }
	 * 
	 */
	public void setTask(Task value) {
		this.task = value;
	}

	/**
	 * Gets the value of the tdId property.
	 * 
	 */
	public int getTdId() {
		return tdId;
	}

	/**
	 * Sets the value of the tdId property.
	 * 
	 */
	public void setTdId(int value) {
		this.tdId = value;
	}

}
